﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Space_Conquest
{
    class OilField : ResourceUnit
    {
        public static Texture _textureOilField = new Texture("Images/Resource/Oil.bmp");

        public OilField(int x, int y)
            : base(_textureOilField, x, y)
        {

            _maxHitPoints = 7000;
            _hitPoints = _maxHitPoints;
            _layer = UnitLayer.Ground;
            _area.Height = 1;
            _area.Width = 1;

            SetLocation();

        }

        public override void Render()
        {
            _sprite.Render(_texture);
        }
    }
}
